﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 出货单拉销售订单DTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class ShipFromSODTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public ShipFromSODTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
					DocTypeID= 0; 
		
			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        			if (this.SrcDocInfoDTOList!=null)
			{
				foreach(ufida.u9.ait.openapi.CopyOfSrcDocInfoDTOData objdata in this.SrcDocInfoDTOList)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public ShipFromSODTOData(  System.String docType  , System.String shipDate  , List<ufida.u9.ait.openapi.CopyOfSrcDocInfoDTOData> srcDocInfoDTOList  , System.String docNo  , System.Int64 docTypeID  )
		{
			initData();
			this.DocType = docType;
			this.ShipDate = shipDate;
			this.SrcDocInfoDTOList = srcDocInfoDTOList;
			this.DocNo = docNo;
			this.DocTypeID = docTypeID;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 单据类型
		/// 出货单拉销售订单DTO.Misc.单据类型
		/// </summary>
		private System.String m_docType ;
		[DataMember(IsRequired=false)]
		public System.String DocType
		{
			get	
			{	
				return m_docType ;
			}
			set	
			{	
				m_docType = value ;	
			}
		}
			
		

		/// <summary>
		/// 出货日期
		/// 出货单拉销售订单DTO.Misc.出货日期
		/// </summary>
		private System.String m_shipDate ;
		[DataMember(IsRequired=false)]
		public System.String ShipDate
		{
			get	
			{	
				return m_shipDate ;
			}
			set	
			{	
				m_shipDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 出货信息集合
		/// 出货单拉销售订单DTO.Misc.出货信息集合
		/// </summary>
		private List<ufida.u9.ait.openapi.CopyOfSrcDocInfoDTOData> m_srcDocInfoDTOList ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.CopyOfSrcDocInfoDTOData> SrcDocInfoDTOList
		{
			get	
			{	
				if (m_srcDocInfoDTOList == null )
				{
					List<ufida.u9.ait.openapi.CopyOfSrcDocInfoDTOData> n_m_list = new List<ufida.u9.ait.openapi.CopyOfSrcDocInfoDTOData>() ;
					m_srcDocInfoDTOList = n_m_list ;
				}
				return m_srcDocInfoDTOList ;
			}
			set	
			{	
				m_srcDocInfoDTOList = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 出货单拉销售订单DTO.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据类型ID
		/// 出货单拉销售订单DTO.Misc.单据类型ID
		/// </summary>
		private System.Int64 m_docTypeID ;
		[DataMember(IsRequired=false)]
		public System.Int64 DocTypeID
		{
			get	
			{	
				return m_docTypeID ;
			}
			set	
			{	
				m_docTypeID = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
										
		#endregion 
	} 	
}
